package com.nativetalk.dto;

public class PunchedRequest {
    private Integer start_page = 1;
    private Integer page_size = 4;
    private Integer memb_id;

    public Integer getMemb_id() {
        return memb_id;
    }

    public void setMemb_id(Integer memb_id) {
        this.memb_id = memb_id;
    }

    public Integer getStart_page() {
        return (start_page - 1) * page_size;
    }

    public void setStart_page(Integer start_page) {
        this.start_page = start_page;
    }

    public Integer getPage_size() {
        return page_size;
    }

    public void setPage_size(Integer page_size) {
        this.page_size = page_size;
    }
}
